package com.wzxy.wzinfo.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.wzxy.wzinfo.entiry.User;

public interface UserRepository extends JpaRepository<User, Integer> ,JpaSpecificationExecutor<User>{
	
	public User findByUsername(String username);
	
	public User findByUsernameAndPassword(String username,String password);
	
}